package com.wisemoresystem.seal.action.log;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.wisemoresystem.seal.base.action.ProjBaseAction;
import com.wisemoresystem.seal.service.LogService;

/**
 * 操作日志
 * 
 * @author Administrator
 *
 */
@Controller("ixOperationLog")
@Scope("prototype")
@RequestMapping("/ix/log/operation")
public class OperationLogAction extends ProjBaseAction {

	@Autowired
	private LogService service;

	@RequestMapping("/list")
	public ModelAndView tree(String srh_uname, String srh_name, String srh_start) {

		List<Map<String, Object>> list = service.selectOperatreLog(srh_uname,
				srh_name, srh_start, page);
		ModelAndView mv = new ModelAndView("/jsp/log/operation/list");
		mv.addObject("list", list);
		return mv;
	}

}
